Sams Teach Yourself Android Game Programming in 24 Hours by Jonathan S. Harbour
Author:Jonathan S. Harbour
Language: eng
Format: epub
Publisher: Sams Publishing
Published: 2013-04-28T16:00:00+00:00
Adding Sound Files to the Project
The resource parameter should be the identifier for a resource found in the project’s .\res\raw folder. By default, .\res is part of a standard Android project, but the \raw subfolder is not created automatically. Thus, you have to add this folder to the project yourself manually. Figure 14.1 shows the .\res\raw folder in the Audio Demo project (covered later this hour).
Figure 14.1. Audio files are added to the .\res\raw folder of a project. Note that different audio file formats may be used interchangeably.
For instance, this resource identifier represents a file called Music in the .\res\raw folder (excluding the extension).
MediaPlayer mp = MediaPlayer.create(this, R.raw.music);
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Music for Film and Game Soundtracks with FL Studio by Joshua Au-Yeung(3845)
The Pro Tools 2023 Post-Audio Cookbook by Emiliano Paternostro(3819)
The Ultimate Studio One Pro Book by Doruk Somunkiran(3693)
Video Editing Made Easy with DaVinci Resolve 18 by Lance Phillips(3181)
The Music Producer's Creative Guide to Ableton Live 11 by Anna Lakatos(2919)
Adobe Animate 2022 for Creative Professionals by Joseph Labrecque(2684)
Significant Zero by Walt Williams(1886)
Hands-On Game Development with WebAssembly by Rick Battagline(1749)
Unity 2020 Virtual Reality Projects - Third Edition by Jonathan Linowes(1740)
Turing's Cathedral by George Dyson(1541)
The Freelance Manifesto: A Field Guide for the Modern Motion Designer by Joey Korenman(1508)
Blender for Video Production Quick Start Guide by Allan Brito(1502)
EPUB From the Ground Up by Jarret Buse(1483)
Voicebot and Chatbot Design: Flexible conversational interfaces with Amazon Alexa, Google Home, and Facebook Messenger by Rachel Batish(1482)
OpenGL 4 Shading Language Cookbook by David Wolff(1462)
Learning D by 2015(1419)
OpenGL 4 Shading Language Cookbook Second Edition by David Wolff(1417)
Windows 7: The Missing Manual by Pogue David(1338)
Pro Tools All-in-One For Dummies by Jeff Strong(1305)
